home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Design
/
WB Collection.iso
/
workbench werkzeuge
/
uhren & terminkalender
/
time
/
sclock
/
source
/
sincos_table.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-04-07
|
1KB
|
49 lines
/****************************************************************************
*
* VERSION
* $VER: sincos_table.c 1.65 (07.12.93)
*
* DESCRIPTION
* Sin/Cos table...
*
* AUTHOR
* Rune Johnsrud
* Created with the magic "SinCos" creator!
*
* COPYRIGHT
* (c) 1993 Amiga Freelancers
*
*****************************************************************************/
#include <exec/types.h>
WORD SinTab[60] =
{
0, 107,
212, 316, 416, 511, 601, 685, 760,
828, 886, 935, 973, 1001, 1018, 1023,
1018, 1001, 973, 935, 886, 828, 760,
685, 601, 512, 416, 316, 212, 107,
0, -107, -212, -316, -416, -511, -601,
-685, -760, -828, -886, -935, -973, -1001,
-1018, -1023, -1018, -1001, -973, -935, -886,
-828, -760, -685, -601, -512, -416, -316,
-212, -107,
};
WORD CosTab[60] =
{
1023, 1018,
1001, 973, 935, 886, 828, 760, 685,
601, 512, 416, 316, 212, 107, 0,
-107, -212, -316, -416, -511, -601, -685,
-760, -828, -886, -935, -973, -1001, -1018,
-1023, -1018, -1001, -973, -935, -886, -828,
-760, -685, -601, -512, -416, -316, -212,
-107, 0, 107, 212, 316, 416, 511,
601, 685, 760, 828, 886, 935, 973,
1001, 1018,
};
/* End Of File */